package priv.utrix.micro.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 角色信息表(SysRole)表实体类
 *
 * @author utrix
 * @since 2021-01-29 21:37:56
 */
@Data
@Accessors(chain = true)
@TableName("sys_role")
public class SysRole implements Serializable {
    private static final long serialVersionUID = -37281323321867764L;

    private Long id;
    /**
     * 角色名称
     */
    @NotBlank(message = "角色名称不能为空")
    private String roleName;
    /**
     * 描述
     */
    @NotBlank(message = "角色描述不能为空")
    private String depict;
    /**
     * 状态
     */
    @NotBlank(message = "角色状态不能为空")
    private String status;
}